/**
 * 样式重置
 */
* {
  -webkit-tap-highlight-color: transparent;
  outline: 0;
  margin: 0;
  padding: 0;
  vertical-align: baseline;
}
body,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
p,
blockquote,
dl,
dt,
dd,
ul,
ol,
li,
pre,
form,
fieldset,
legend,
button,
input,
textarea,
th,
td {
  margin: 0;
  padding: 0;
  vertical-align: baseline;
}
img {
  border: 0 none;
  vertical-align: top;
}
i,
em {
  font-style: normal;
}
ol,
ul {
  list-style: none;
}
input,
select,
button,
h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 100%;
  font-family: inherit;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
a {
  text-decoration: none;
  color: #666;
}
body {
  margin: 0 auto;
  min-width: 320px;
  max-width: 768px;
  width: 100%;
  height: 100%;
  font-size: 14px;
  font-family: -apple-system, Helvetica, "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.5;
  color: #666;
  text-size-adjust: 100% !important;
  user-select: none;
}
input[type="text"],
textarea {
  appearance: none;
}
html {
  width: 100%;
  height: 100%;
}
/**
 * 状态类
 */
.hide {
  display: none !important;
}
.main,
.loading,
.img,
.cover {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  height: 100%;
  overflow: hidden;
  justify-content: center;
  align-items: center;
}
.main {
  /*display: none;*/
  z-index: 40;
}
.wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wrapper #video {
  /*height: 100%;
    width: 100%;*/
}
.wrapper #canvas {
  display: none;
}
.img {
  display: none;
  z-index: 50;
  -webkit-overflow-scrolling:touch;
  -webkit-overflow-y: auto;
  overflow-y: auto;
  align-items: flex-start;
}
.img .img_show {
  position: relative;
}
.img .img_show >img {
  width: 100%;
}
.img .img_show .hask {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 62px;
  background-color: transparent;
  text-align: center;
}

.img .img_show .hask img{
  height: 100%;
}
.loading {
  /*display: none;*/
  z-index: 100;
}
.loading .btns {
  width: 100%;
  text-align: center;
}
.loading .btns .btn {
  display: inline-block;
  padding: 20px 40px;
  /*border: 1px solid #FFF;*/
  color: #FFF;
  font-size: 28px;
  box-sizing: border-box;
  margin-top: 30px;
  background-color: transparent;
}
.cover {
  display: none;
  z-index: 30;
}
.cover img {
  width: 100%;
}

.orientation{
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  z-index: 150;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.orientation p{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #fff;
}
@media screen and (orientation: portrait) {
  .orientation{
    display: block;
  }
  /*竖屏 css*/

}

@media screen and (orientation: landscape) {
  .orientation{
    display: none;
  }
  /*横屏 css*/

}